#ifndef __TOUR_H__
#define __TOUR_H__

#include "Piece.h"
#include "Roi.h"
#include "TourGL.h"
class Tour : virtual public Piece
{
	protected :
		bool deplace;
		static std::string nom;
		
	public :
		Tour(Echiquier*, Position P, bool, bool=false);
	~Tour();
		bool estDeplace()const;
		
		void roque(const Roi*, bool);

		char rendu() const;
		void deplacement(const Position&) throw (std::invalid_argument);
		void majDeplacements();
		void majAtk();
		const std::string& toString()const;

		virtual Piece* clone(Echiquier*) const;
};

#endif

